<?php

class Contact
{
  var $id = 0;
  var $userId = 0;
  var $firstName = '';
  var $lastName = '';
  var $address = '';
  var $city = '';
  var $email = '';
  var $phone = '';
  var $groupId = 0;

  function init($id, $userId, $firstName, $lastName, $address, $city, $email, $phone, $groupId)
  {
    $this->id = $id;
    $this->userId = $userId;
    $this->firstName = $firstName;
    $this->lastName = $lastName;
    $this->address = $address;
    $this->city = $city;
    $this->email = $email;
    $this->phone = $phone;
    $this->groupId = $groupId;
  }
}

?>